.virtual-list-container {
  position: relative;
  -webkit-overflow-scrolling: touch;
  overflow-y: auto;
}

.virtual-list-spacer {
  position: relative;
  width: 100%;
}

.virtual-list-items {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  will-change: transform;
}

.virtual-list-item {
  width: 100%;
}

/* 滚动条优化 - 移动端隐藏 */
@media (max-width: 767px) {
  .virtual-list-container {
    scrollbar-width: none;
  }

  .virtual-list-container::-webkit-scrollbar {
    display: none;
  }
}

/* 桌面端美化滚动条 */
@media (min-width: 768px) {
  .virtual-list-container::-webkit-scrollbar {
    width: 6px;
  }

  .virtual-list-container::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 3px;
  }

  .virtual-list-container::-webkit-scrollbar-thumb {
    background: #d9d9d9;
    border-radius: 3px;
  }

  .virtual-list-container::-webkit-scrollbar-thumb:hover {
    background: #bfbfbf;
  }
}
